package cn.antsing;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext("cn.antsing");
        /**
         *
         * 执行顺序：
         *
         ====================User0=构造函数-----------------
         ====================User0=setUser0-----------------
         ------------------postProcessBeforeInitialization--cn.antsing.bean.User0---------------
         ====================User0=init()-----------------
         ------------------postProcessAfterInitialization--cn.antsing.bean.User0---------------
         ====================User0=destroy()-----------------
         */

        applicationContext.close();
    }
}
